package com.jielihaofeng.chat.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.experimental.Accessors;
import org.springframework.scheduling.annotation.Scheduled;

import java.io.Serializable;

/**
 * ws消息
 *
 * @author 借力好风 949394048@qq.com
 * @since 1.0.0 2022-07-22
 */
@Data
@Accessors(chain = true)
@Schema(description = "ws消息")
public class WebSocketMessageVO implements Serializable {
    private static final long serialVersionUID = 1L;

    @Schema(description = "ws消息类型标识")
    private String type;

    @Schema(description = "ws消息内容")
    private String content;
}
